<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-19
 * Time: 17:05
 */

namespace app\api\model;


class Member extends BaseModel
{
    // 身份证正面
    public function just()
    {
        return $this->belongsTo('Image','id_just_img_id');
    }

    // 身份证反面
    public function back()
    {
        return $this->belongsTo('Image','id_back_img_id');
    }

    // 身份证反面
    public function user()
    {
        return $this->belongsTo('User','user_id');
    }
}